package resoft.jeasyform.components;

import resoft.jeasyform.charva.JRectangle;

/**
 * <p></p>
 * User: albert
 * Date: Aug 29, 2007
 * Time: 5:30:58 AM
 */
public class Rectangle extends Component{
    /**
     * to swing object
     *
     * @return charva.awt.Component
     */
    public charva.awt.Component getSwingObject() {
        JRectangle jRectangle = new JRectangle();
        jRectangle.setX(getX());
        jRectangle.setY(getY());
        jRectangle.setWidth(getWidth());
        jRectangle.setHeight(getHeight());                

        return jRectangle;
    }

    /**
     * hide
     */
    public void hide() {

    }

    /**
     * show
     */
    public void show() {

    }
}
